<!-- Static navbar -->
<?php
require_once("front_view_header.php");
require_once ("front_view_nav_nocheck.php");
?>

<?php
//1. 用户必须登录
$isAllowAccess = isset($_SESSION['user_id']);
if ( !$isAllowAccess ) {
?>
<div class="col-lg-offset-1 col-lg-10 col-sm-12 col-xs-12">
    <div class="panel panel-default" style="margin-left: -1.3rem; margin-right: -1.3rem;">
        <div class="panel-body">
            <a href='../../loginpage.php'>你还未登录，请先登录!</a>
        </div>
    </div>
</div>
<?php
    exit(1);
}
?>
